package com.geeguo.ebuilder.operation.business.tenant.clientwebmodule.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geeguo.ebuilder.operation.business.tenant.clientwebmodule.model.ClientWebModuleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ClientWebModuleMapper extends BaseMapper<ClientWebModuleEntity> {

    List<ClientWebModuleEntity> listAll();

    Integer updateByParams(@Param("params") Map<String, Object> changeValues);

    Integer getChildCount(@Param("id") String id);

    Integer getMaxSequence(@Param("id") String id);

    Integer existsName(@Param("name") String name);
}